﻿using Microsoft.Practices.Prism.Interactivity.InteractionRequest;

namespace TextFileReaderModule.Notifications
{
  /// <summary>
  /// Used to ask the user whether he wants to save the log line comments.
  /// </summary>
  public class SaveCommentsDialogNotification : Confirmation
  {
    #region fields

    /// <summary>
    /// Represents <see cref="CommentsShouldBeSaved"/>
    /// </summary>
    protected bool? _commentsShouldBeSaved;

    #endregion

    #region constructor(s)

    /// <summary>
    /// Gets an <see cref="SaveCommentsDialogNotification"/> instance.
    /// </summary>
    // ReSharper disable once EmptyConstructor
    public SaveCommentsDialogNotification()
    {
      // Intentionally left blank.
    }

    #endregion

    #region properties

    /// <summary>
    /// Gets or sets whether the comments should be saved.
    /// </summary>
    public bool? CommentsShouldBeSaved
    {
      get { return _commentsShouldBeSaved; }
      set { _commentsShouldBeSaved = value; }
    }

    #endregion

    #region methods
    #endregion
  }
}
